<template>
    <div class="first shopcar">
        <div v-for="(item, index) in this.$store.state.detailList" :key="index">
                    <img :src='item.img' alt=''>
                    <p><b>{{item.titlee}}</b></p>
                    <p>{{item.title}}</p>
                    <p>￥ {{item.price}}</p>
                </div>
    </div>
</template>

<script>
export default {
    mounted () {
        console.log(this.$store.state.detailList);
    }
}
</script>

<style lang='scss'>
.shopcar{
    display:flex;
    flex-wrap:wrap;
    div{
        width:50%;
    }
}
</style>